import request from "@/utils/request";

// 获取违规投诉列表
export function getComplaintList(params) {
  return request({
    url: "/procurement/getComplaintList",
    method: "get",
    params: params,
  });
}

// 新增违规投诉
export function setComplaint(data) {
  return request({
    url: "/procurement/setComplaint",
    method: "post",
    data: data,
  });
}

// 新增违规投诉
export function getComplaintListItem(params) {
  return request({
    url: "/procurement/getComplaintListItem",
    method: "get",
    params: params,
  });
}
